package org.summer.lawyer.domain.bo.award;

import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.summer.common.mybatis.core.domain.BaseEntitySearch;
import org.summer.lawyer.domain.Award;

import java.io.Serial;

/**
 * 荣誉信息业务对象 award
 *
 * @author summer
 * @date 2024-06-25
 */
@Schema(title ="荣誉信息视图对象 award", description = "荣誉信息视图对象 award")
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Award.class, reverseConvertGenerate = false)
public class AwardBo extends BaseEntitySearch {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(title = "awardId", type = "Long", description = "主键ID")
    //@NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long awardId;

    /**
     * 荣誉对象（1律师，2律所）
     */
    @Schema(title = "awardScope", type = "String", description = "荣誉对象（1律师，2律所）")
    //@NotBlank(message = "荣誉对象（1律师，2律所）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String awardScope;

    /**
     * 标题
     */
    @Schema(title = "title", type = "String", description = "标题")
    //@NotBlank(message = "标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 荣誉封面图片
     */
    @Schema(title = "awardImage", type = "String", description = "荣誉封面图片")
    //@NotBlank(message = "荣誉封面图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String awardImage;

    /**
     * 律所ID
     */
    @Schema(title = "lawFirmId", type = "Long", description = "律所ID")
    //@NotNull(message = "律所ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long lawFirmId;

    /**
     * 律师ID
     */
    @Schema(title = "lawyerId", type = "Long", description = "律师ID")
    //@NotNull(message = "律师ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long lawyerId;

    /**
     * 案例内容
     */
    @Schema(title = "awardContent", type = "String", description = "案例内容")
    //@NotBlank(message = "案例内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String awardContent;


}
